﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Modules/AdminFrame.Master"
    AutoEventWireup="true" CodeBehind="TreeListAdd.aspx.cs" Inherits="Sasc.PV.Web.Admin.SystemManage.TreeListAdd" %>

    
<%@ Register Assembly="Sasc.PV.Web" Namespace="Sasc.PV.Web" TagPrefix="cc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <table id="PrintHide" style="width: 100%" border="0" cellpadding="0" cellspacing="0">
            <tr>

                <td valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;">
                    &nbsp;
                    <img src="<%:ResolveUrl("~/images/BanKuaiJianTou.gif") %>" />
                    <a class="hei" href="<%:ResolveUrl("~/Admin/MyDesk") %>">桌面</a>&nbsp;>>&nbsp;系统管理&nbsp;>>&nbsp;添加信息
                </td>
                <td class="toprightpanel" align="right" valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;">
                    <asp:ImageButton ID="SubmitImageButton" runat="server" ImageUrl="~/images/Button/Submit.jpg"  ImageAlign="AbsMiddle"
                        OnClick="SubmitImageButton_Click" />
                    <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/Button/JianGe.jpg" ImageAlign="AbsMiddle" />
                    <asp:ImageButton ID="GoBackImageButton" runat="server" ImageUrl="~/images/Button/BtnExit.jpg" ImageAlign="AbsMiddle"  CssClass="gobackbutton"  />  </td>
            </tr>
            <tr>
                <td height="3px" colspan="2" style="background-color: #ffffff">
                </td>
            </tr>
        </table>
        <table style="width: 100%" bgcolor="#999999" border="0" cellpadding="2" cellspacing="1">
            <tr>
                <td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
                    显示文字：
                </td>
                <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                    <asp:TextBox ID="txtTextStr" runat="server" Width="350px" CssClass="lookuptarget4"></asp:TextBox>
                     <cc1:LookupHyperLink runat="server" DialogHeight="400" DialogWidth="350" DialogURL="~/Admin/SelectCondition?TableName=ERPTreeList&LieName=TextStr&Radstr='+RadNum,'" MergeValue="false" LookupTarget=".lookuptarget4" ID="LookupHyperLink5"></cc1:LookupHyperLink>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTextStr"
                        ErrorMessage="*该项不可以为空"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
                    所用图片：
                </td>
                <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                    <asp:TextBox ID="txtImageUrlStr" runat="server" Width="350px" CssClass="lookuptarget3"></asp:TextBox>
                    
                         <cc1:LookupHyperLink runat="server" DialogHeight="400" DialogWidth="350" DialogURL="~/Admin/SelectCondition?TableName=ERPTreeList&LieName=ImageUrlStr&Radstr='+RadNum,'" MergeValue="false" LookupTarget=".lookuptarget3" ID="LookupHyperLink4"></cc1:LookupHyperLink>
                </td>
            </tr>
            <tr>
                <td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
                    后台数值：
                </td>
                <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                    <asp:TextBox ID="txtValueStr" runat="server" Width="350px"></asp:TextBox>
                    当前最后一项为：<asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>&nbsp;
                    子节点为数值，父节点可设置为和显示文字相同。
                </td>
            </tr>
            <tr>
                <td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
                    链接地址：
                </td>
                <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                    <asp:TextBox ID="txtNavigateUrlStr" runat="server" Width="350px" CssClass="lookuptarget2"></asp:TextBox>
                     <cc1:LookupHyperLink runat="server" DialogHeight="400" DialogWidth="350" DialogURL="~/Admin/SelectCondition?TableName=ERPTreeList&LieName=NavigateUrlStr&Radstr='+RadNum,'" MergeValue="false" LookupTarget=".lookuptarget2" ID="LookupHyperLink3"></cc1:LookupHyperLink>
                </td>
            </tr>
            <tr>
                <td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
                    目标框架：
                </td>
                <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                    <asp:TextBox ID="txtTarget" runat="server" Width="350px" CssClass="lookuptarget1"></asp:TextBox>
               

                        <cc1:LookupHyperLink runat="server" DialogHeight="400" DialogWidth="350" DialogURL="~/Admin/SelectCondition?TableName=ERPTreeList&LieName=Target&Radstr='+RadNum,'" MergeValue="false" LookupTarget=".lookuptarget1" ID="LookupHyperLink2"></cc1:LookupHyperLink>
                </td>
            </tr>
            <tr>
                <td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
                    父节点：
                </td>
                <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                    <asp:TextBox ID="txtParentID" runat="server" Width="350px"></asp:TextBox>
                    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtParentID"
                        Display="Dynamic" ErrorMessage="*该项必须输入数字" MaximumValue="10000" MinimumValue="0"
                        Type="Integer"></asp:RangeValidator><asp:RequiredFieldValidator ID="RequiredFieldValidator2"
                            runat="server" ControlToValidate="txtParentID" ErrorMessage="*该项不可为空"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
                    权限：
                </td>
                <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                    <asp:TextBox ID="txtQuanXianList" runat="server" Width="350px" CssClass="lookuptarget">A_添加|M_修改|D_删除|E_导出</asp:TextBox>
                  
                     <cc1:LookupHyperLink runat="server" DialogHeight="400" DialogWidth="350" DialogURL="~/Admin/SelectCondition?TableName=ERPTreeList&LieName=QuanXianList&Radstr='+RadNum,'" MergeValue="false" LookupTarget=".lookuptarget" ID="LookupHyperLink1"></cc1:LookupHyperLink>
                </td>
            </tr>
            <tr>
                <td style="width: 170px; height: 25px; background-color: #cccccc" align="right">
                    排序：
                </td>
                <td style="padding-left: 5px; height: 25px; background-color: #ffffff">
                    <asp:TextBox ID="txtPaiXuStr" runat="server" Width="350px"></asp:TextBox>
                    <asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="txtPaiXuStr"
                        Display="Dynamic" ErrorMessage="*该项必须输入数字" MaximumValue="10000" MinimumValue="0"
                        Type="Integer"></asp:RangeValidator><asp:RequiredFieldValidator ID="RequiredFieldValidator3"
                            runat="server" ControlToValidate="txtPaiXuStr" ErrorMessage="*该项不可为空"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
